package com.cxyjy.cfyuiapi.service;

import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import java.util.Map;


public interface UploadImageService {
    String uploadFaceSwapImage(MultipartFile file) throws IOException;

    String uploadFaceSwapImage(String urlStr) throws IOException;

    Object uploadImageBinaryToComfyUI(MultipartFile multipartFile, HttpServletRequest request) throws IOException;

    Map<String, Object> uploadImageFaceSwapImage(String targetImageUrlStr, String sourceImageUrlStr) throws IOException;

    String uploadImageFaceSwapImageHybrid(MultipartFile image, String imageUrlStr) throws IOException;


}
